package com.lanling.eduorder.service;

import com.lanling.eduorder.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanling.eduorder.entity.OrderQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author 胡振华
 * @since 2020-11-29
 */
public interface OrderService extends IService<Order> {

    String createOrders(String courseId, String memberIdByJwtToken);

    List<Order> getOrdersByUserId(HttpServletRequest request);
}
